﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace PlaceOrder_Core.PlaceOrderModels;


[Table("trade_simulation_config")]
public partial class TradeSimulationConfig
{
    [Column("id")]
    public int Id { get; set; }

    [Column("user_privilege")]
    public short? UserPrivilege { get; set; }

    [Column("volume")]
    public short? Volume { get; set; }

    [Column("allowed_total_loss")]
    public short? AllowedTotalLoss { get; set; }

    [Column("threshold")]
    public short? Threshold { get; set; }

    [Column("allowed_daily_loss")]
    public short AllowedDailyLoss { get; set; }

    [Column("allowed_tscodes")]
    public short? AllowedTscodes { get; set; }

    [Column("level_name")]
    public string? LevelName { get; set; }

    [Column("group_name")]
    public string? GroupName { get; set; }

    [Column("allowed_holding")]
    public short? AllowedHolding { get; set; }

    [Column("balance_in_morning")]
    public short? BalanceInMorning { get; set; }

    [Column("group_id")]
    public short? GroupId { get; set; }

    [Column("multi_tscodes")]
    public short? MutliTscodes { get; set; }

    [Column("close_in_afternoon")]
    public short? CloseInAfternoon { get; set; }

    [Column("max_daily_trade")]
    public short? MaxDailyTrade { get; set; }
}
